package com.share.one.f_attributeDI_xml.b_setter;


public class Person {
	private String name;
	private Integer age;
	private Address homeAddress;
	private Address companyAddress;
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Integer getAge() {
		return age;
	}
	public void setAge(Integer age) {
		this.age = age;
	}
	public Address getHomeAddress() {
		return homeAddress;
	}
	public void setHomeAddress(Address homeAddress) {
		this.homeAddress = homeAddress;
	}
	public Address getCompanyAddress() {
		return companyAddress;
	}
	public void setCompanyAddress(Address companyAddress) {
		this.companyAddress = companyAddress;
	}
	@Override
	public String toString() {
		return "Person [name=" + name + ", age=" + age + ", homeAddress="
				+ homeAddress + ", companyAddress=" + companyAddress + "]";
	}
	
}
